//
//  MJWordData.m
//  测试1.1
//
//  Created by 王志盼 on 15/2/5.
//  Copyright (c) 2015年 王志盼. All rights reserved.
//

#import "MJWordData.h"

@implementation MJWordData

- (BOOL) isWordDataWithString:(NSString *)string
{
    return self.dict[string] == nil ? NO : YES;
}
- (instancetype)initWithDict:(NSDictionary *)dict
{
    if (self = [super init]) {
        self.dict = dict;
    }
    return self;
}
+ (instancetype)wordDataWithDict:(NSDictionary *)dict
{
    return [[self alloc] initWithDict:dict];
}

@end